package org.springblade.modules.admin.vo.sugar.rescue;

import lombok.Data;
import org.springblade.modules.admin.enums.MaintainPlanContentEnum;
import org.springblade.modules.admin.enums.TaskStatusEnum;

import java.util.Date;

/**
 * @Date 11:41 2024/3/13
 * @Description {
 *   救援大屏 项目详情电梯工单列表
 * }
 * @Author lsay
 **/
@Data
public class RescueBuildingElevatorPlanListVO {

	private Long planId;

	private Date createTime;

	private String elevatorAddress;

	private String rescueName;

	private String trapDesc;

	private Integer planStatus;

	private String planStatusName;

	public void setPlanStatus(Integer planStatus) {
		this.planStatus = planStatus;
		this.planStatusName = TaskStatusEnum.getTaskName(MaintainPlanContentEnum.MAINTAIN_KR.getId(),planStatus);
	}
}
